
<div class="pageContent">
	<form method="post" action="${rc.getContextPath()}/manage/pfep/savePfep" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="navTabId" value="${navTabId!''}" /> <input type="hidden" name="id" value="<#if (pfep.materialCode)??>${pfep.materialCode!''}</#if>">
		<div class="pageFormContent">
			<fieldset>
				<dl>
					<dt><@label key='materialCode.C,colon'>物料编号：</@label></dt>
					<dd>
						<input class="required" type="text" name="materialCode" value="${pfep.materialCode!''}" readonly>

					</dd>
				</dl>
				<dl>
					<dt><@label key="pullStrategy.C,colon">拉动策略：</@label></dt>
					<dd>
						<select name="pullStrategyCode" disabled> <#list pullStrategys as pullStrategy>
							<option value="${pullStrategy.pullStrategyCode}"<#if pfep.pullStrategyCode?? && pfep.pullStrategyCode == pullStrategy.pullStrategyCode> selected="selected"</#if>>${pullStrategy.pullStrategyCode}-${pullStrategy.pullStrategyText}</option> </#list>
						</select>
					</dd>
				</dl>
				<dl>
					<dt><@label key="distributionMode.C,colon">配送形式：</@label></dt>
					<dd>
						<select name="distributionModeCode" disabled> <#list distributionModes as distributionMode>
							<option value="${distributionMode.distributionModeCode}"<#if pfep.distributionModeCode?? && pfep.distributionModeCode == distributionMode.distributionModeCode> selected="selected"</#if>>${distributionMode.distributionModeCode}-${distributionMode.distributionModeText}</option> </#list>
						</select>
					</dd>
				</dl>
				<dl>
					<dt><@label key="defaultWarehouse.C,colon">默认线边仓库：</@label></dt>
					<dd>
						<select disabled id="warehouse" class="allyselect" ref="storageLocation" postField="warehousCode" refUrl="${rc.getContextPath()}/manage/pfep/warehouseChange" name="warehouseCode" class="required"> <#list warehouses as warehouse>
							<option flag="${warehouse.locationManageFlag}" value='${warehouse.warehouseCode}'<#if pfep.warehouseCode?? && pfep.warehouseCode == warehouse.warehouseCode> selected="selected"</#if>> ${warehouse.warehouseCode}-${warehouse.warehouseText}</option> </#list>
						</select>
					</dd>
				</dl>
				<dl>
					<dt><@label key="defaultStorageLocation.C,colon">默认线边库位：</@label></dt>
					<dd>
						<select disabled selectedValue="${pfep.storageLocationCode!''}" id="storageLocation" field="storageLocationCode" name="storageLocationCode" label="storageLocationText" class="required">
						</select>
					</dd>
				</dl>
				<dl>
					<dt><@label key="distributionCycle.C,colon">默认配送周期：</@label></dt>
					<dd>
						<input readonly name="distributionCycle" class="digits" maxlength="10" min="1" value="<#if (pfep.distributionCycle)??>${pfep.distributionCycle!''}</#if>" type="text" maxlength="60" />
					</dd>
				</dl>
				<dl>
					<dt><@label key="distributionQuantity.C,colon">默认单次配送量：</@label></dt>
					<dd>
						<input readonly name="distributionQuantity" class="number" onkeyup="pfepJs._checknum(this)" maxlength="10" min="1" value="<#if (pfep.distributionQuantity)??>${pfep.distributionQuantity!''}</#if>" type="text" maxlength="60" />
					</dd>
				</dl>
				<dl>
					<dt><@label key="distributionUser.C,colon">默认配送人员:</@label></dt>
					<dd>
						<input readonly name="distributionUser" value="${pfep.distributionUser!''}" 
                              size="22" type="text" maxlength="40" class="required  alphanumeric toUp" 
                        />
					</dd>
				</dl>
				<dl>
					<dt>&nbsp;</dt>
					<dd>
						<input disabled type="checkbox" name="lockFlag" value="1"<#if (pfep.lockFlag)?? && (pfep.lockFlag == 1)> checked="true"</#if>><@label key="lock.C">锁定</@label>
					</dd>
				</dl>
			</fieldset>
		</div>
		<#if (pfep.materialCode)??> <#assign createInfo=pfep/> <#include "/common/createInfo.html"> </#if>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="button" class="close"><@label key="close.B">关闭</@label></button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>